<?php

include_once 'Thesis.php';
/**
 * ConferenceThesis
 * 会议论文
 *
 * @author ddj
 */
class ConferenceThesis extends Thesis{
    private $conferenceCorpusName;  // 会议文集名
    private $date;                  // 年月
    private $searchType;            // 检索类别（EI/ISTP）
    private $searchID;              // 检索号
    private $recommendLevel;        // 计算机学会推荐级别（A/B/C/无）
    private $auditingState;         // 审核状态
    
    function __construct($attributesArray=null) {
        parent::__construct(null, null, null);
        $this->conferenceCorpusName = null;
        $this->date = null;
        $this->searchType = null;
        $this->searchID = null;
        $this->recommendLevel = null;
        $this->auditingState = null;
        
        if($attributesArray!=null){
            foreach ($attributesArray as $key => $value) {
                $this->$key = $value;
            }
        }
    }

    function __get($propertyName) {
        if(isset($this->$propertyName)){
            return $this->$propertyName;
        }else{
            //
            return NULL;
        }
    }
    
    function __set($propertyName, $value) {
        $this->$propertyName = trim($value);
    }
    
}
